package com.yzc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzc.model.entity.Email.EmailReq;
import com.yzc.model.query.system.UpdatePassReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmailMapper extends BaseMapper<EmailReq> {
    int updateEmailChekCode(@Param("chekCode")String chekCode,@Param("emailAddress") String emailAddress);

    int checkCode(@Param("emailAddress") String emailAddress,@Param("chekCode")String chekCode);

    int updatePassword(UpdatePassReq updatePassReq);
}
